//
//  ANCommonMacro.h
//  ShenWeiRent
//
//  Created by iMac on 2019/3/12.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#ifndef ANCommonMacro_h
#define ANCommonMacro_h

#define StringWithPlaceHolder(str,placeholder) [NSString stringWithFormat:@"%@",(str.length ? str : placeholder)]
#define String(str) [NSString stringWithFormat:@"%@",(str.length ? str : @" ")]
#define StringNone(str) [NSString stringWithFormat:@"%@",(str.length ? str : @"")]

#define PlaceHolderImage [UIImage imageNamed:@"pic_moren"]


#define WeakSelf __weak typeof(self) weakSelf = self;

#endif /* ANCommonMacro_h */
